home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Interface / heatvis_mask.mat < prev    next >
Encoding:
Text File  |  2004-01-05  |  1.6 KB  |  68 lines

  1. Shader()
  2. {
  3.     Sortweight("sprite")
  4.     Cull("none")
  5.  
  6.     Pass()
  7.     {
  8.  
  9.         tmu()
  10.         {
  11.             Texture()
  12.             {
  13.                 Image("CH_T_VisionSpirte.png")
  14.             }
  15.             ColorOp("arg2", "texture", "texture_a", "current")
  16.         }
  17.  
  18.         tmu()
  19.         {
  20.             TexMod("scale", "const", 3, 0, 0, "const", 3, 0, 0)
  21.             TexMod("translate", "step", 0.3, 19, 0.3, "step", 0.01, 7, 0.13)
  22.             Texture()
  23.             {
  24.                 Image("ch_t_noise.png")
  25.             }
  26.             ColorOp("add", "inv_texture", "current", "current")
  27.  
  28.  
  29.         }
  30.  
  31.         AmbientColor(0.588, 0.588, 0.588, 1.000)
  32.         DiffuseColor(0.588, 0.588, 0.588, 1.000)
  33.         SpecularColor(0.000, 0.000, 0.000, 1.000)
  34.         EmissiveColor(0.000, 0.000, 0.000, 1.000)
  35.         SpecularPow(0.000)
  36.         BlendFunc("one", "one")
  37.         depthfunc( "always", 0 )
  38.         nofog()
  39.     }
  40.  
  41.     Pass()
  42.     {
  43.         
  44.  
  45.         tmu()
  46.         {
  47.             Texture()
  48.             {
  49.                 Image("CH_T_VisionSpirte.png")
  50.             }
  51.             ColorOp("arg1", "texture", "inv_texture_a", "current")
  52.         }
  53.  
  54.  
  55.         AmbientColor(0.588, 0.588, 0.588, 1.000)
  56.         DiffuseColor(0.588, 0.588, 0.588, 1.000)
  57.         SpecularColor(0.000, 0.000, 0.000, 1.000)
  58.         EmissiveColor(0.000, 0.000, 0.000, 1.000)
  59.         SpecularPow(0.000)
  60.         BlendFunc("zero", "src_color")
  61.         //BlendFunc("zero", "src_color")
  62.         //BlendFunc("zero", "one")
  63.         depthfunc( "always", 0 )
  64.         nofog()
  65.     }
  66. }
  67.  
  68.